package com.pony.iphone.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pony.iphone.entity.Library;
import com.pony.iphone.entity.Question;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author pony
 * @create 2025-09-17 14:39
 */
@Mapper
public interface LibraryMapper extends BaseMapper<Library> {
    /**
     * 为题库添加一个题目信息
     * @param libraryId
     * @param questionId
     * @return
     */
    Integer addQuestionForLibrary(Long libraryId, Long questionId);
}
